package com.amz.auth.annotation;

import java.lang.annotation.*;

@Target({ ElementType.PARAMETER, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface RolePermission {
    //具备任一一角色
    public String[] hasAnyRole() default {};
    //具备任意一资源
    public String[] hasAnyResources() default {};
}
